﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Tasks.Common.Entitys;

namespace Tasks.UI.Models.Article
{
    public class ArticleModel : BaseManageModel
    {


        #region ID

        private Int32 m_iD;

        /// <summary>Gets or sets ID</summary>
        public Int32 ID
        {
            get { return m_iD; }
            set { m_iD = value; }
        }

        #endregion

        #region Title

        private String m_title;

        /// <summary>Gets or sets Title</summary>
        public String Title
        {
            get { return m_title; }
            set { m_title = value; }
        }

        #endregion

        #region Content

        private String m_content;

        /// <summary>Gets or sets Content</summary>
        public String Content
        {
            get { return m_content; }
            set { m_content = value; }
        }

        #endregion

        #region Type

        private Int32 m_type;

        /// <summary>Gets or sets Type</summary>
        public Int32 Type
        {
            get { return m_type; }
            set { m_type = value; }
        }

        #endregion

        #region OwnerID

        private Int32 m_ownerID;

        /// <summary>Gets or sets OwnerID</summary>
        public Int32 OwnerID
        {
            get { return m_ownerID; }
            set { m_ownerID = value; }
        }

        #endregion

        #region CreateTime

        private DateTime m_createTime;

        /// <summary>Gets or sets CreateTime</summary>
        public DateTime CreateTime
        {
            get { return m_createTime; }
            set { m_createTime = value; }
        }

        #endregion

        #region CreateUserID

        private Int32 m_createUserID;

        /// <summary>Gets or sets CreateUserID</summary>
        public Int32 CreateUserID
        {
            get { return m_createUserID; }
            set { m_createUserID = value; }
        }

        #endregion

        #region CreateUserName

        private String m_createUserName;

        /// <summary>Gets or sets CreateUserName</summary>
        public String CreateUserName
        {
            get { return m_createUserName; }
            set { m_createUserName = value; }
        }

        #endregion


        public int[] ActionID { get; set; }
        public string srtActions { get; set; }
        public IList<PowerAction> ActionList { get; set; }
        public PowerModule Module { get; set; }
        public Tasks.Common.Entitys.Article Article { get; set; }

        public IList<Tasks.Common.Entitys.Article> Articles { get; set; }

        //计划开始时间
        public string PlanStartTime { get; set; }
        //计划结束时间
        public string PlanEndTime { get; set; }
        //实际开始时间
        public string PracticalStartTime { get; set; }
        //实际结束时间
        public string PracticalEndtTime { get; set; }
        //任务状态
        public int State { get; set; }
        //项目类型
        public int ProjectID { get; set; }
        //处理人ID
        public int OperatorID { get; set; }

        public string OperatorName { get; set; }

        public string Images { get; set; }

        public bool IsTop { get; set; }

        public int MsgID { get; set; }
        public int ArticleID { get; set; }
        public int ParentID { get; set; }
        public string ReplyTime { get; set; }

        public string ReplyContent { get; set; }

        public IList<Tasks.Common.Entitys.Article> replyArticles { get; set; }

        public string InTime1 { get; set; }
        public string InTime2 { get; set; }

        public int[] ArticleIDs { get; set; }

    }
}